package com.york.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Copyright(C),2020,嘉盛科技有限公司
 * FileName:OneSubject
 * Author:yangboxiong
 * Date:2020/11/19 17:10
 * Description:一级分类
 * History:
 * <author>       <time>      <version>       <desc>
 * 作者姓名       修改时间        版本号         描述
 *
 * @author 11235
 */
@Data
public class OneSubject {
    private String id;
    private String title;
    //一级分类中有多个二级分类
    private List<TwoSubject> children = new ArrayList<>();
}
